#!/bin/bash

cd
cd Desktop

ifconfig eth0 up 10.0.0.2

wget --no-parent --mirror http://10.0.0.1/dtn-irc/

cd 10.0.0.1/dtn-irc

cd paquetes
upgradepkg --install-new *

cd ..
cd config/10.0.0.2/
for i in *
  do cp $i /etc/
done

cd ../..

cd build

chmod a+x irc-proxy/*
chmod a+x dtn-server/*

ifconfig eth0 up 10.0.0.2

dtnd -l info -t

